<template>
  <EcoIcon size="18px" @click="toggle" class="cursor-pointer" :icon="isFullscreen ? 'fullscreen-exit' : 'fullscreen'" :color="color" />
</template>
<script setup lang="ts">
defineProps({
  color: {
    type: String,
    default: ''
  }
})
const { toggle, isFullscreen } = useFullscreen()
</script>
